#!/bin/bash
install_base() {
	if type dnf &>/dev/null; then
		sudo dnf install procps-ng curl file git git-lfs -y
	fi

	if type apt &>/dev/null; then
		sudo apt install build-essential procps curl file git git-lfs -y
	fi
}

install_base

sudo sed -i -r 's/GRUB_TIMEOUT=[0-9]*$/GRUB_TIMEOUT=1/' /etc/default/grub
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
sudo systemctl set-default multi-user.target
